﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Security;
using System.Security.Principal;
using System.Security.Claims;

namespace SecurityApi.Provider
{
    public class CustomClaimsPrincipal : ClaimsPrincipal
    {
        public int UniversalUserId { get; set; }
        public string Email { get; set; }
        public string DisplayName { get; set; }

        public CustomClaimsPrincipal(IIdentity identity)
            : base(identity)
        {

        }

        public CustomClaimsPrincipal(IPrincipal principal)
            : base(principal)
        {

        }

    }
}
